package no.gnet.edvd.types;

import org.joda.time.DateTime;

public class Activity extends Persist{
	private static final long serialVersionUID = 7224031207055314129L;
	
	public Activity(){
		
	}	
	
	public String text;
	public Activity(String text, ActivityType type, Player player, DateTime activitytimestamp) {
		super();
		this.text = text;
		this.type = type;
		this.player = player;
		this.activitytimestamp = activitytimestamp;
	}

	public Activity(String text, ActivityType type, Player player) {
		this(text,type,player,null);
	}

	public ActivityType type;
	public Player player;
	public DateTime activitytimestamp;

	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public ActivityType getType() {
		return type;
	}
	public void setType(ActivityType type) {
		this.type = type;
	}
	public Player getPlayer() {
		return player;
	}
	public void setPlayer(Player player) {
		this.player = player;
	}
	public DateTime getActivitytimestamp() {
		return activitytimestamp;
	}
	public void setActivitytimestamp(DateTime activitytimestamp) {
		this.activitytimestamp = activitytimestamp;
	}
	
}
